#ifndef PRODUCT_H_
#define PRODUCT_H_

#include <string>

using namespace std;

struct Product
{
private:
   //constants
     

   // private data
	int prod_id;
	int cat_id;
	string prod_name;
	double prod_price;

   
public:
	//data

	// constructors
	Product () {}
	Product (int pid, int cid, string name, double price) : prod_id(pid), cat_id(cid), prod_name(name), prod_price(price){} //CR A3
   // utility functions
	string display() const;
	int get_cat_id() const{					//CR S1
		return cat_id;						//CR S1
	}										//CR S1
	double get_price() const{					//CR S1
		return prod_price;					//CR S1
	}										//CR S1
	int get_prod_id() const{					//CR S1
		return prod_id;						//CR S1
	}										//CR S1
   
};


#endif //PRODUCT_H_
